package com.xzzz.expand.es.core;

import com.xzzz.expand.es.core.annotation.EsId;
import com.xzzz.expand.es.core.annotation.EsIndex;
import lombok.Data;

@Data
@EsIndex(name = "index_learning")
class IndexLearningMoreDTO {

    @EsId
    private Long id;
    private String name;
    private String desc;
    private String more;

    IndexLearningMoreDTO() {

    }

    IndexLearningMoreDTO(Long id, String name, String desc) {
        this.id = id;
        this.name = name;
        this.desc = desc;
    }
}
